package com.sportizz.sport;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;

public class DbHandler extends SQLiteOpenHelper {
	private static final String DATABASE_NAME = "spdb.db";

	public DbHandler(Context context) {
		super(context, DATABASE_NAME, null, 1);
	}

	@Override
	public void onCreate(SQLiteDatabase _db) {
//		_db.execSQL(CREATE_FOLLOW_TABLE);
//		_db.execSQL(create_sport_table);
		Log.i("suraj", "2nd tabel create");
	}

	@Override
	public void onUpgrade(SQLiteDatabase _db, int _oldVersion, int _newVersion) {
//		Log.w("suraj", "Upgrading from version " + _oldVersion + " to "
//				+ _newVersion + ", which will destroy all old data");
		
//		_db.execSQL("DROP TABLE IF EXISTS " + DatabaseAdapter.TABLE_NAME);
//		onCreate(_db);
	}

}
